/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class TienTe {
    private String MaTTe;
    private int MaNN;
    private String TenTTe;
    private String KyHieu;
    private Byte MacDinh;
    public TienTe(){
        MaTTe = "";
        MaNN = 0;
        TenTTe = "";
        KyHieu = "";
        MacDinh = 0;
        
    }
    public void setMaTTe (String value){
        if(value == null)
            value = "";
        MaTTe = value;
    }
    public String getMaTTe(){
        return MaTTe;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setTenTTe (String value){
        if(value == null)
            value = "";
        TenTTe = value;
    }
    public String getTenTTe(){
        return TenTTe;
    }
    public void setKyHieu (String value){
        if(value == null)
            value = "";
        KyHieu = value;
    }
    public String getKyHieu(){
        return KyHieu;
    }
    public void setMacDinh (byte value){
        MacDinh = value;
    }
    public byte getMacDinh(){
        return MacDinh;
    }
    
}
